﻿<%@ Control Language="C#" EnableViewState="true" %>

<script type="text/javascript">
    function check() {
        var tt = document.getElementById('<%=txtMemo.ClientID %>');
        if (tt != null && tt != "") {
            if (tt.value != null && tt.value != "") {
                return true;
            } else { alert('挂起原因不能为空'); return false; }
        } else {return false;}
    }
    function returnOk() {
        window.returnValue = "ok";
        window.close();
    }
</script>

<div style="margin: 0 auto; width: 350px; text-align: center">
    <br />
    <table style="margin: 0 auto;" width="300px" align="center" class="gridtable">
        <tr>
            <td style="width: 80px">
                <b>业务编号</b>
            </td>
            <td>
                <asp:Label runat="server" ID="labIId" Text='' />
            </td>
        </tr>
        <tr>
            <td>
                <b>业务类型</b>
            </td>
            <td>
                <asp:Label runat="server" ID="labType" Text='' />
            </td>
        </tr>
        <tr>
            <td>
                <b>业务名称</b>
            </td>
            <td>
                <asp:Label runat="server" ID="labName" Text='' /><asp:Label runat="server" ID="labWiid"
                    Text='' Visible="false" />
            </td>
        </tr>
        <tr>
            <td>
                <b>申请原因</b>
            </td>
            <td style="height: 100px">
                <asp:TextBox runat="server" ID="txtMemo" TextMode="multiLine" Width="200px" Height="85px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button runat="server" ID="btnOK" Text="提交" OnClientClick="return check();" />
                &nbsp; &nbsp;
                <input type="button" value="取消" onclick="returnOk()" />
            </td>
        </tr>
    </table>
    <p>
        <asp:Label ID="lab_Msg" runat="server" Text="" ForeColor="Red"></asp:Label>
    </p>
</div>
